/* ===== Redes Sociales UESG - Estilo Minimalista Elegante ===== */
.redes-sociales {
  background-color: #ffffff; /* Fondo ligeramente gris para contraste */
  padding: 100px 8%;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: #111;
}

.container-redes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 45px;
  
}

/* Tarjeta principal */
.red {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 35px;
  width: 220px;
  height: 320px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.red:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Íconos */
.red i {
  font-size: 58px;
  color: #636261;
  margin-bottom: 22px;
  transition: all 0.35s ease;
}

.red:hover i {
  transform: scale(1.12);
  color: #111;
}

/* Títulos y texto */
.red-texto h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
  letter-spacing: 0.3px;
}

.red-texto p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Botón elegante */
.red-texto a {
  display: inline-block;
  background: #828180;
  color: #ffffff;
  border-radius: 30px;
  padding: 10px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(253, 180, 191, 0.35);
}

.red-texto a:hover {
  background: #111;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Animación de entrada suave */
.red {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 0.9s ease forwards;
}
.red:nth-child(1) { animation-delay: 0.15s; }
.red:nth-child(2) { animation-delay: 0.35s; }
.red:nth-child(3) { animation-delay: 0.55s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container-redes {
    flex-direction: column;
    align-items: center;
  }
  .red {
    width: 92%;
  }
}
